import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入样式文件
import '@/styles/common.less'
import componentPlugin from './components'
import direactivePlugin from '@/direactives'
// 设置完请求拦截器和响应拦截器进行 测试一下request方法
// import request from '@/utils/request'
// request('/login', 'post', {
//   account: 18610848230,
//   password: 123456
// })
// 触发mutation函数 引起插件的自动同步
// store.commit('user/setProfile')
createApp(App).use(store).use(router).use(componentPlugin).use(direactivePlugin).mount('#app')
